package nc.impl.baoyin.sale;

import java.sql.SQLException;

import javax.naming.NamingException;

import nc.bs.pub.SystemException;
import nc.itf.baoyin.common.ICheckOverPeriod;
import nc.vo.pub.BusinessException;
import nc.vo.pub.lang.UFDouble;

public class CheckOverPeriodImpl implements ICheckOverPeriod {

	public UFDouble getAmount(nc.vo.pub.AggregatedValueObject vo) throws BusinessException {
		try {
			nc.bs.ic.ic211.GeneralHDMO	dmo = new nc.bs.ic.ic211.GeneralHDMO();
			return dmo.examOverPeriodGeneral(vo);
		} catch (NamingException e) {
			e.printStackTrace();
		} catch (SystemException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return new UFDouble();
	}

}
